Retrieves all the values in the enum as an array.
A new array containing all the values contained in the enum.