Repeat last - and more

As a basic idea, not new.
Extended idea:
You have this excellent undo history!
What if one can can select actions from undo history by swiping to the right and execute this to existing selection?
I was thinking about something like: rotate z 45 degree ; duplicate i.e.
As I love array function from 3ds max.(which could be another request, but not here)

Maybe the “repeat selected undo history on actual selection” function could have some potential for more. Let say, one can add repetitions for execution. And this action is saveable. A bit like Photoshop actions, but not with recording, just with afterwards selection of already successfully done actions. But it’s a bit technical and hides some risks.

For inspiration only.