<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def new_type(cls, **kwargs) -> typing.Type: """Create a user defined type. The new type will contain all attributes of the `cls` type passed in. Any attribute's value can be overwritten using kwargs. :param kwargs: Can include any attribute defined in the provided user defined type. """

    props = dict(cls.__dict__)
    props.update(kwargs)
    return type(cls.__name__, (cls,), props)