You may want to reuse the same attribution object for all WMTS layers, this way you won't get the same attribution text displayed multiple times when there are multiple layers visible.