When copying items, use deep copying if available

Haven't tested it against something like listboxitem, but works with my
data bound stuff.