public static function byResizingTo(Collection $collection, int $size): NotAllowed
    {
        return new static(sprintf(
            'Cannot directly resize the immutable collection `%s`. ' .
            '(Tried to resize from %d to %d).',
            get_class($collection),
            count($collection),
            $size
        ));
    }