Made it make a copy if the data is not mutable