Expanding jQuery's removing options

Expanding jQuery's removing options


Hey everyone,
I find myself doing this often in an application I'm writing:
    jQuery(new_body).find('.wrap').each(function() {
        jQuery(this).replaceWith(jQuery(this).html());
    });
Essentially I'm wanting to remove the node itself, but preserving
it's contents. Do you think this functionality would be useful in
jQuery core, or is it better left to the realm of plugins? (I ask
this because I'm most likely going to attempt at making a plugin that
will handle this - I was thinking replaceAndPreserve() )
Thanks,
Brennan