Provide constructor for ImageSlice2d