Then why does the doc state:
Calling
remake(prob)creates a copy of the existing problem. This new problem has the exact same types as the original one, and theremakecall is fully inferred.
Or am I wrong in assuming that a copy and a deepcopy are the same?
And thanks, this looks very useful!