Possible to undo a paste?

Is there a way to /undo (filename) so is removes the whole building in the map,

For example; I have 2 files : town + home

I've pasted home and after that I pasted town but I wanna "/undo home", because its too big to use ent kill even binded

That would be a great comand to have. In the meantime if you have have remover toll installed you can use the /remove all comand, that is what I use howver if you have loot boxes they will drop thier contents. I use the ent kill to remove those.
'/remove structure' is safer.