Added clone that skips circular data and globals