Search : remove duplicate elements from array