I haven’t done it yet but I would lookup the number of clouds in the IdePix result and open the band properties of the original product. There you can define a “valid pixel expression” which could be Idepix=!clouds
or something like that. That depends on the exact output of the module.