More core array functions, remove duplicate entries