cluster: Clip output dataset blocks and chunks to input shape bounds.