coming from https://github.com/mauge123/mechanical-blender
This patch allows and operator to create another operator, repeating the action from beginning that it was performing.
It is tested on modal operators and in the patch is used on transform (translations),allowing the user to continue creating elements pressing "M" key before placing the object.
To allow it, a new operator result is defined and managed. The parent operator is replaced with a new one, with no direct relationship. In order to get data in new one from previous, a new function copy is created on the operator type, and a new variable is set for the operator.