There is no built-in platform function that does what you want but you can create that function by keeping track of the changes in a separate entity ‘change’ having attributes ‘module’, ’entity' and associated to an entity having ‘attribute', ‘old value’, ‘new value’ and a microflow doing the Undo-logic.