[minor] clone objects before persisting to prevent contamination