public function withSizes(array $sizes)
    {
        $res = clone $this;

        $res->sizes = $res->fillArrayInput($sizes);

        return $res;
    }
public function withSizes(array $sizes)
    {
        $res = clone $this;

        $res->sizes = $res->fillArrayInput($sizes);

        return $res;
    }
public function withSizes ( array $ sizes ) { $ res = clone $ this ; $ res -> sizes = $ res -> fillArrayInput ( $ sizes ) ; return $ res ; }
Set all sizes, adding null values if needed.

@param array<integer|null> $sizes

@return static a new instance.
Set all sizes adding null values if needed .