Rename to Copy_of when pasting

Hello everyone

I would like to be able to hook into the paste event. Specifically, I would like to be able to customize the id generated when pasting as well as edit the name while doing so.

I had a look through the examples, but the closest I could find was the interaction example, and that does not seem to allow what I am looking for.

I don’t need a solution or ready code or anything, I’d just like to ask where I should have to look.