/** * Return a new instance of row using the given data but * keeping the metadata for this row. * * @param array $array * * @return Row */ public function newInstance(array $array) { $duplicate = new self($array); $duplicate->setFormatParams($this->getFormatParams()); return $duplicate; }