extend npm used for deep object clone