Doesn't 'keys' give you a list of unique values already?  Why is it necessary to do keys.unique ?