Netflix interview question

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