Remove repeated item in array