Provide ability to restore an object to it's previous state.
Recognized by the behavior method which change the whole the state of whole instance.
The editor application store text content and currsor position. Memento pattern provides an undo ability for editor.