added options for cloning a different element than the origin