@Override
	public Object clone() {
		PatternBlock res = new PatternBlock(true);
		res.offset = offset;
		res.nonzerosize = nonzerosize;
		res.maskvec = maskvec.clone();
		res.valvec = valvec.clone();
		return res;
	}
A mask/value pair viewed as two bitstreams
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/pattern/PatternBlock.java