Enable redo/undo for clear()

closes #73