src/Set.php
public function unique(\Closure $compare = null) {
		
		if(\is_callable($compare)){
			return parent::unique($compare);
		}
		
		return new static(\array_unique($this->_Arr, \SORT_REGULAR));
		
	}
public function unique(\Closure $compare = null) {
		
		if(\is_callable($compare)){
			return parent::unique($compare);
		}
		
		return new static(\array_unique($this->_Arr, \SORT_REGULAR));
		
	}
public function unique ( \ Closure $ compare = null ) { if ( \ is_callable ( $ compare ) ) { return parent :: unique ( $ compare ) ; } return new static ( \ array_unique ( $ this -> _Arr , \ SORT_REGULAR ) ) ; }
Returns a new Set with duplicates removed
@param \Closure $compare optional compare function
@return \static
Returns a new Set with duplicates removed