SaveToTransactionBuffer

Save a copy of this object into the transaction buffer if we are currently recording into one (undo/redo).