Undo capability for move camera when piloting it

Hi!
Just a simple request that is very annoying to me. I found a similar request but is from several years ago, so I started a new one.

To be able to undo a camera translation and rotation when that is done via piloting that camera; in the editor.

Sometimes the camera is not locked yet, and is very easy to accidentally rotate it when looking through it and seting things up.

Thanks an best regards