def clsinit_copy(cls):
    """ Initializes template information (i.e. attributes and traces)
    on classes derived from the ResourceManager class.
    It differs from the clsinit method in that it forces inheritance
    of attributes and traces from the parent class.

    It is used as a decorator in the class declaration as follows:

        @clsinit
        class MyResourceManager(ResourceManager):
        
            ...


    clsinit_copy should be prefered to clsinit when creating new
    ResourceManager child classes.

    """
    cls._clsinit_copy()
    return cls
