The generic rule

Changes that do not make data change on the board are generally not undoable.

Examples of what is undoable

The ones marked with * may not yet be undoable but should be.

Examples of what is not undoable

Cases that may look strange