def instance(cls):
    """Create a new instance of a class.
    Parameters
    ----------
    cls : type
        The class to create an instance of.
    Returns
    -------
    instance : cls
        A new instance of ``cls``.
    """
    return cls()
