clone method
Implementation
Future<AITextSession> clone() async {
try {
final promise = _jsObject.clone();
final result = await promiseToFuture(promise);
return AITextSession._fromJsObject(result);
} catch (e) {
throw Exception('Failed to clone session: $e');
}
}