Clears the palette (gallery) content.
Call this function to remove all palette (gallery) content. This is needed if you wish to attach another gallery and/or begin to add another set of groups.