An idea: have an unobstructive popup that says "hit ESC in 5 seconds to undo <the action>", and do the move/copy only if the user doesn't press that key in the specified time. Maybe use backspace instead of ESC because the MacBooks' touch bar thingy. Allow to disable/ change the interval.