<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clear_components(self):
 """Clear all of the registered components """


        ComponentRegistry._component_overlays = {}

        for key in self.list_components():
            self.remove_component(key)