Array.unique() Remove duplicate function improved