mtt_isunique replaces unique which masks a built-in function.