We added defensive copy for setters in a pervious PR. We should also do so for Getters. Technically this is a backward-incompatible change because we don't know how existing users are using the Getters. It is possible that they use Getters to modify internal instance variables.
We added defensive copy for setters in a pervious PR. We should also do so for Getters. Technically this is a backward-incompatible change because we don't know how existing users are using the Getters. It is possible that they use Getters to modify internal instance variables.