Notes is a fairly important app, that I have synced on four devices.

Sometimes I "select all" a note and instead of clicking copy, by accident I clink paste. Whatever is on the clipboard at the time then paste over the note, ruining the note.

Is there an undo?

Is there anything one can do to go back to how the notes was originally?