fixed up utilities service cloning the modified array

remember arrays and objects and functions are passed by reference!