trying to use classinfo to clone the object