any_duplicated_rows function

Fast alternative to anyDuplicated()