DDF-242 added clone() to arrays to prevent modifications to internal functionality
DDF-242 added clone() to arrays to prevent modifications to internal functionality