Returns an array without any duplicates (does not mutate the array by default, see mutate option).
mutate
Optional
Whether to mutate the array. Defaults to false because, counterintuitively, true might be slightly slower.
Returns an array without any duplicates (does not mutate the array by default, see
mutate
option).