Is your feature request related to a problem? Please describe.
This is somewhat related to #222 in that I am trying to use Mutable Units objects in my inputs class, but I want to make them 'final' to avoid other places in our code from overwriting them since the mut_* methods should be used on them. Making them 'final' causes the build to fail, though, because of the 'clone' method that it creates since it tries to assign this. to copy..
Describe the solution you'd like
If possible, in the 'clone' method use copy.<attr>.mut_replace(this.<attr> if the attribute is one of the mutable unit types.
Is your feature request related to a problem? Please describe.
This is somewhat related to #222 in that I am trying to use Mutable Units objects in my inputs class, but I want to make them 'final' to avoid other places in our code from overwriting them since the mut_* methods should be used on them. Making them 'final' causes the build to fail, though, because of the 'clone' method that it creates since it tries to assign this. to copy..
Describe the solution you'd like
If possible, in the 'clone' method use
copy.<attr>.mut_replace(this.<attr>if the attribute is one of the mutable unit types.