Generic function to change the structure of an object, function of the (changed) parameters used to create it.
Useful links