Avoid copying undo data