Memento
Memento pattern is about capturing and storing the current state of an object in a manner that it can be restored later on in a smooth manner.
Real world example
Take the example of calculator (i.e. originator), where whenever you perform some calculation the last calculation is saved in memory (i.e. memento) so that you can get back to it and maybe get it restored using some action buttons (i.e. caretaker).