Domanda di colloquio di Netflix

Write a function that takes a string as an arg, and returns the same string with all duplicates removed.