Places the items in the array in random order. The array is shuffled in-place, no copy is created. The returned array is exactly the passed array.