public function __construct(Item $result, Item $ingredient) { $this->output = clone $result; $this->ingredient = clone $ingredient; }