public function addRow($row)
{
if ($row instanceof TableSeparator) {
$this->rowsCopy[] = $row;
return parent::addRow($row);
}
if (!is_array($row)) {
throw new \InvalidArgumentException('A row must be an array or a TableSeparator instance.');
}
$this->rowsCopy[] = array_values($row);
return parent::addRow($row);
}