API for "possible undo point"?

Perfect, thanks!