added cloneItem functionality