Randomises the order of a given array and returns the result in a new array without mutating the original.
The type of the array items.
The array to randomise.
A new array with the items randomised.
Randomises the order of a given array and returns the result in a new array without mutating the original.