Add a function to clear cmaps.