def clonedb(self, clone_source: str, newid: str, description: Optional[str]=None) -> None:
    'Clone a remote repository and create a local copy.\n\n        Parameters\n        ----------\n        clone_source : str\n            The source url of the repo to be cloned.\n        newid : str\n            Identifier of the new repository to create.\n        Description : str, optional\n            Optional description about the cloned database.\n\n        Raises\n        ------\n        InterfaceError\n            if the client does not connect to a database\n\n        Examples\n        --------\n        >>> client = WOQLClient("https://127.0.0.1:6363/")\n        >>> client.clonedb("http://terminusdb.com/some_user/test_db", "my_test_db")\n        '
    self._check_connection()
    if (description is None):
        description = f'New database {newid}'
    rc_args = {'remote_url': clone_source, 'label': newid, 'comment': description}
    _finish_response(requests.post(self._clone_url(newid), headers={'user-agent': f'terminusdb-client-python/{__version__}'}, json=rc_args, auth=self._auth()))
Clone a remote repository and create a local copy.

Parameters
----------
clone_source : str
    The source url of the repo to be cloned.
newid : str
    Identifier of the new repository to create.
Description : str, optional
    Optional description about the cloned database.

Raises
------
InterfaceError
    if the client does not connect to a database

Examples
--------
>>> client = WOQLClient("https://127.0.0.1:6363/")
>>> client.clonedb("http://terminusdb.com/some_user/test_db", "my_test_db")
def clonedb(self, clone_source: str, newid: str, description: Optional[str]=None) -> None:
    'Clone a remote repository and create a local copy.\n\n        Parameters\n        ----------\n        clone_source : str\n            The source url of the repo to be cloned.\n        newid : str\n            Identifier of the new repository to create.\n        Description : str, optional\n            Optional description about the cloned database.\n\n        Raises\n        ------\n        InterfaceError\n            if the client does not connect to a database\n\n        Examples\n        --------\n        >>> client = WOQLClient("https://127.0.0.1:6363/")\n        >>> client.clonedb("http://terminusdb.com/some_user/test_db", "my_test_db")\n        '
    self._check_connection()
    if (description is None):
        description = f'New database {newid}'
    rc_args = {'remote_url': clone_source, 'label': newid, 'comment': description}
    _finish_response(requests.post(self._clone_url(newid), headers={'user-agent': f'terminusdb-client-python/{__version__}'}, json=rc_args, auth=self._auth()))