Everyone knows the syntax: CLONE INSTANCE FROM ..., wait a bit, and you have a new replica. Far fewer people know what happens underneath, and that is where the interesting engineering is.
Copying a multi-terabyte data directory takes minutes to hours, and the database keeps changing the whole time. So what exactly did you copy? Clone's answer is a three-stage protocol built inside InnoDB: a bulk file copy that is knowingly inconsistent, a page copy that repairs what changed underneath it, and a redo tail that pins the whole thing to a single LSN. On first start the result is just ordinary crash recovery.
In this talk I walk through that protocol and the two pieces of infrastructure it needed: modified-page tracking and redo archiving, both of which outlived clone itself. Along the way we look at the design tradeoffs the worklogs spell out: why pages are tracked at flush time rather than when they are dirtied, what the donor actually pays for while a clone runs, what happens when the redo archiver falls behind, and how binlog position and GTID end up consistent with the copied data.
I don't write InnoDB, I operate it. This is a practitioner's reading of the code and the worklogs, aimed at anyone who provisions replicas and wants to know what they are trusting.