Sentinel-2 Level 2A clouds removal

If you use L2A data, you already have a cloud mask available which you can use to exclude those pixels from further processing.

See here:

sen2cor is the processor used to generate L2A products.