Makes sure the array does not have duplicate keywords