...
The guidelines FIO00-J. Defensively copy mutable inputs and mutable internal components and OBJ10OBJ08-J. Provide mutable classes with copy functionality to allow passing instances to untrusted code safely discuss defensive copying in great depth.
...