Changed the copy constructor of properties to make a shallow copy.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>