Allow also class level metrics for window lsm. Either specify focal class beforehand or return RasterStack in which each layer represents a class.