public function copy($builder, $type = null)
    {
        if (!($builder instanceof Builder)) {
            $builder = $this->retrieve($builder);
        }
        return $builder->copy($type);
    }