Probably not possible without doing one of these t...
# announcements
m
Probably not possible without doing one of these things: • Let all data classes implement a specific custom interface (like
Copyable
) -> work for the API user • Let the API user pass a closure which copies the object -> work for the API user • Use a lot of reflection -> no work for the API user, much work for you, probably unstable and slow • Change the architecture completely without relying on mutable properties (difficult to tell since I don’t know your architecture)