Doesn’t that destroy your SEO? I was warned 6+ years ago never to do that, but can’t recall the technical reason.
Google quite reasonably now sees duplicate identical content as an issue, you can use the "canonical" HTML tag can be used to help it see the "real" link where several exist.
I don't know what'll happen when there are only two copies of your page, but I'd hazard a guess it'll preference medium's domain over your own in most cases.