Implemented Cursor.distinct()