[jQuery] Can jQuery compare 2 <ul> and remove <li>'s that are duplicates?

[jQuery] Can jQuery compare 2 <ul> and remove <li>'s that are duplicates?


Can jQuery compare 2 <ul> and remove <li>'s that are duplicates?
Essentially I use jQuery to populate an unordered list with new
values, and I
have an existing unordered list already on the screen.
I'd like to remove any elements in the newly loaded list that already
exist in
the current list.
I hope this makes sense, and thanks in advance.
Cheers,
jfaulky