Replace recording

Is there any way to live record through midi device with runtime replace of old recorded notes and control signals from midi device?
This is very useful with looped pattern record when you want to make a best “take”. Now when pattern is looped old notes overlap with new ones while record. So i have to press Lshift+F3 (clear the track in pattern) every take and start-stop again and again – it is annoying.

This is far from a perfect solution, but it is useful:

It will create clones of the entire pattern line, so you can record multiple takes, and then you choose the take you want to keep and minus out the rest.

Ок. Very thx. I ll try it