Cosmetics, clone array of numbers to avoid modifying the original parameters.