@classmethod
def of(cls, part_class):
    """
        Creates a new class with the ``item_class`` attribute properly set.
        """
    copy = type('ArrayOf%s' % part_class.__name__, cls.__bases__, dict(cls.
        __dict__))
    copy.item_class = part_class
    return copy
