Performs the undo operations in the last undo group (whether top-level or nested), recording the operations on the redo stack as a single group.
- iOS 3.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
NSInternal if any undo operations have been registered since the last