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

Description

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