prepare function sql safe method

Both methods are okay ($new_wpdb->insert actually uses $new_wpdb->prepare) and provide the same level of safety when it comes to SQL escaping.

$new_wpdb->insert is the preferred method unless you’re writing your own custom SQL query.