Twelfth Doctor's hologram ghost

The Twelfth Doctor created a hologram ghost of himself to trick the Fisher King.

The ghost appeared in the lake unto Clara Oswald just after the Doctor bid her a temporary farewell.

This caused a younger version of the Twelfth Doctor to believe he was dying and that it was fixed. Eventually, he worked out that it was a projection created by him, which caused him to create the ghost in the first place, using the TARDIS and his sonic sunglasses.

This fell under what the Twelfth Doctor described as a "bootstrap paradox". (TV: Under the Lake / Before the Flood)