Not really reducing the clouds and shadows, but the IDEPIX is detecting them. And you can exclude them in your further processing.
You find it in the menu at Optical / Preprocessing / Masking / IDEPIX / S2.
You need to resample the S2 product first. If you want to run IDEPIX on a subset you should remove the masks first. I’ve explained it recently how to do it.