Just an `Array` version of `List.eraseReps`. These functions are for now outside of scope for verification, so there's just a simple `example` in the tests.