Unlike Model#save or Model#save_copy, unfortunately the Ruby API does not allow me to give a second parameter - version - for Definition.#save_as.
And UI.savepanel have it's limitation too...
...Therefore I got stuck here for now with "versionig". I need more time to figure out workaround, if any.