Construct a copy of an object with nullable fields nulled if they haven’t been changed since construction
I have Java classes with some nullable members, which get constructed from JSON objects with some optional keys. After construction, I will modify the objects, populating some previously-null members, and modifying or nulling some that existed in the JSON.