Copies an instance of Opt to new instance.
Equivalent in C API: nlopt_copy
auto opt1 = Opt(Algorithm.ldMMA, 10); auto opt2 = opt1.copy();
See Implementation
Copies an instance of Opt to new instance.
Equivalent in C API: nlopt_copy