I'd be curious to know your reasons for requiring Mavericks. I'm using a refurb mid-2014 15 inch MBP with Yosemite without issues...
I doubt that mirroring another macbook's disk to the new one would work, nor do I think that AutoDMG would get you around the likelihood that the current refurbs with Yosemite have had their firmware updated to basically require Yosemite as minimum version...
If you really must have Mavericks, you may be forced into buying a 2nd-hand macbook pro... which is fraught with dangers...