public function merge(EncodingList $encodings): self
    {
        $copy = new self();
        $copy->stack = collect($this->stack)->merge($encodings->stack)->all();

        return $copy;
    }
public function merge(EncodingList $encodings): self
    {
        $copy = new self();
        $copy->stack = collect($this->stack)->merge($encodings->stack)->all();

        return $copy;
    }
Return a new instance with the supplied encodings merged.

@param EncodingList $encodings
@return EncodingList