added set support in: deserialize and copy