Move the `set_image_sizes` to the model class.
Add the `__clone` and `__wakeup` magic methods
for a more complete singleton class