Changed Duplicate() from deep to shallow copy.