Undo Design pattern

Undo: pinterest.com