in reply to Re: remove duplicate value in array
in thread remove duplicate value in array

It doesn't do quite the same thing. Fletch's solution preserves order. Yours does not.