how to using jQuery to meet a string deep copy

how to using jQuery to meet a string deep copy

Hi:

I have a problem about deep copy. Instead of using javascript slice(1), is there any 
other way to deep copy a string via jQuery, such as 
  1. var str=deepcopy(old_string)

Thanks a lot.