public static function cast($collection, string $restrictTo = null)
    {
        if ($collection instanceof Collection) {
            return $collection;
        }

        return new static($collection, $restrictTo);
    }