Version: 2019.2
public static void ClearUndo (Object identifier);

Description

Removes all Undo operation for the identifier object registered using Undo.RegisterCompleteObjectUndo from the undo stack.