Fix sample of unique() method

Fixed incorrect input array and result.