Resolves: fdo#86786 take of a copy of the MarkData

so macros that trigger on changed data don't change invalidate
interators into them behind our back

Change-Id: Ib7e626b4ec3eea3bd0b1f57f17280a008bb4060e