Creates a clone of this tool with the same project_manager.
Called by OLLMtools.ToolBuilder when creating wrapped tool instances. Tools that cannot be wrapped should throw GLib.IOError.NOT_SUPPORTED.
|
a new tool instance |
| Error |
GLib.IOError.NOT_SUPPORTED when wrapping is not allowed |