The behavior of the "Clip raster" tool regarding extent is unclear. It reduces the extent if the clipping polygon is smaller than the raster, but doesn’t expand it if the polygon is larger. This can lead to issues when clipping unified rasters, as the resulting rasters may have different extents, causing problems in training.
If this is the intended behavior, it would be helpful to explain it clearly. This way, users would have more information and might consider alternatives like using "Mask raster".