How to make a code that returns a new array identical to the original array, but removes any repeating digits that were in the original array. For example, original array is