Memento PatternExplains the Memento pattern used to capture and restore an object's internal state without violating encapsulation.