match.pas: clone the object, allowing access to fields