src/SQLRequest/SQLRequest.php
public function getClone($withParameters=true) {
		$clone = new static($this->sqlAdapter, $this->idField, $this->class);
		if( $withParameters ) {
			$clone->parameters = $this->parameters;
		}
		return $clone;
	}
public function getClone($withParameters=true) {
		$clone = new static($this->sqlAdapter, $this->idField, $this->class);
		if( $withParameters ) {
			$clone->parameters = $this->parameters;
		}
		return $clone;
	}
public function getClone ( $ withParameters = true ) { $ clone = new static ( $ this -> sqlAdapter , $ this -> idField , $ this -> class ) ; if ( $ withParameters ) { $ clone -> parameters = $ this -> parameters ; } return $ clone ; }
Get a clone of current request

@param string $withParameters True to also copy parameters, default to true
@return SQLRequest
Get a clone of current request