public function replace(array $new)
	{
		foreach ($new as $key => $values) {
			$this->validateKey($key);
			if (! is_array($values)) {
				$values = $new[$key] = [
					$values
				];
			}
			foreach ($values as $v) {
				$this->validateValue($v);
			}
		}
		foreach ($new as $key => $values) {
			$this->setArray($key, $values);
		}
	}