Configure factory before classe injection so they can be injected
Since this object cannot be injected/created, allow cloning it's state