Implement move semantics for ImageData