With each new Java platform release, the stewards of the language always include a few new preview features that can be toyed with only if a developer knows how to unlock the capabilities at runtime.
Copying objects is a common Java programming operation that has one serious trap. Here's how to avoid copying from an object reference and only copy the instance and values you want. Copying objects ...