int
main(int, char *[])
{
using PixelType = unsigned char;
RandomSourceType::Pointer randomImageSource = RandomSourceType::New();
randomImageSource->SetNumberOfWorkUnits(1);
ImageType::Pointer image = randomImageSource->GetOutput();
DuplicatorType::Pointer duplicator = DuplicatorType::New();
duplicator->SetInputImage(image);
duplicator->Update();
ImageType::Pointer clonedImage = duplicator->GetOutput();
return EXIT_SUCCESS;
}