Transcription of domain patterns in near-stoichiometric magnesium-doped lithium niobate