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