New class-based gasxx, fixed clone behavior