Open up a test project... and loop record a 4 bar section in X2.
Record several different passes (one per each loop thru).
By default, the last take is the one that shows up in the track slot.
The other takes are all there (in separate lanes).
Click on the show track lanes button for the track.
Now, each take will be in a different lane.
You can mute/solo each lane to audition.
You can slip-edit to comp from the various takes.
The "comp'd" result will then show in the track.