clone only primitive objects