environment copying: Dereference links on copy