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