Fix sample of unique() method
Merge pull request #645 from hirayummy/correction_unique_sample

Fix sample of unique() method