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