Clears the current scene of all the items and layers.

def clear( self ):
        """
        Clears the current scene of all the items and layers.
        """
        self.setCurrentLayer(None)
        
        self._layers = []
        self._cache.clear()
        
        super(XNodeScene, self).clear()