duplicate items before rendering