public static function create($from)
{
return new self(['where' => $from->where, 'limit' => $from->limit, 'offset' => $from->offset, 'orderBy' => $from->orderBy, 'indexBy' => $from->indexBy, 'select' => $from->select, 'selectOption' => $from->selectOption, 'distinct' => $from->distinct, 'from' => $from->from, 'groupBy' => $from->groupBy, 'join' => $from->join, 'having' => $from->having, 'union' => $from->union, 'params' => $from->params, 'groupLimit' => $from->groupLimit, 'options' => $from->options, 'within' => $from->within, 'match' => $from->match, 'snippetCallback' => $from->snippetCallback, 'snippetOptions' => $from->snippetOptions]);
}