Remove static position memory from the matcher class, copy on return instead.