getCloneAsync
fun <T> getCloneAsync(formSchema: Schema<T>, formValue: T, path: Path = AbsolutePath.ROOT, coroutineScope: CoroutineScope = GlobalScope): CompletableFuture<Any?>
fun <T> getCloneAsync(formSchema: Schema<T>, formValue: T, path: String, coroutineScope: CoroutineScope = GlobalScope): CompletableFuture<Any?>
Returns a future that completes with a clone (deep copy) of the single part of the form value formValue (with schema formSchema) matching path.
The future will complete exceptionally with InvalidPathException if path contains wildcards or matches no schemas and with NoSuchElementException if no part of formValue matches path.