Cloning add_settings_field() with jQuery

jQuery can only clone what is on the current page or what is loaded over AJAX, so setting something up on the backend and cloning it on the front is not possible. What you can do is create a string and print to the front as a Javascript variable or as a hidden div that you can then clone with jQuery. WordPress does this on the backend if you look near the top of any backend page. For example:

function tst() {
    echo '<script type="text/javascript">var hello="hi";</script>';
}
add_action('wp_head','tst');

error code: 523