wouldn’t it be nice to also have a copy method for...
# announcements
t
wouldn’t it be nice to also have a copy method for deep copies?
d
You can work around "Deep copying" by using some sort of serialization mechanism, like
ObjectOutputStream
or converting the object to your preferred format, like JSON, XML, ETF, etc. then converting it back.