This function removes unused layers.
In the Layers pane, click Clean Layer.
Unused layers are detected and removed from the Layers pane.