Arrays are cloned in getters and setters
Some fixes advised by Sonar