Allow cloning the WindowState hierarchy