There is a very simple Resampling plugin. Its recording all the time in the background into the RAM. You can simply select and drag and drop a part of the recording into a sampler or the DAW sequencer.
Here is the site of the developer:
https://www.birdsthings.com/
rolling-sampler.png
Small example how a Bitwig user is using it:
You do not have the required permissions to view the files attached to this post.