Remove() must not modify the input slice