i think what you are looking for can be reached with a small plug-in using RhinoDoc.BeforeTransformObjects Event
and a command that recalls last transformation.
the example in above link give s a straight forward starting point.
( i am not sure if the event catches all transformations including gumball)