I can’t speak from experience on this, but it appears that if you want to roll your car, the best way is to go off track, sideways if possible. If the track is inherently unsafe, for example, with dirt banks, you may find yourself on your roof just from leaving the racing surface.
Another way is to hit a barrier.
If you go off sideways, you can roll just from landscape braking.