Combine booleans into bit flag for DescriptorData. Also fix a stupid cloning bug.