use pipeline for entity cloning