clone input schema so we can be destructive