Given variable number of arguments (strings) checks whether there are any duplicates among the arguments and return array of all unique duplicates. If no arguments are passes return empty array.
get_duplicated_arguments("a", "b", "c") # empty list
get_duplicated_arguments("a", "b", "c", "a") # [a]