public OsmMapMatcher Clone() { OsmMapMatcher result = new OsmMapMatcher(); result.Graph = Graph; result.SearchGrid = SearchGrid.Clone(); result.State = MapMatchState.InitialState(); result.Parameters = Parameters; return(result); }