UndoManager(scope, options)

Saves a history of locally applied operations. The UndoManager handles the undoing and redoing of locally created changes.