Read the following lines from Poe's "Alone."

And the cloud that took the form
(When the rest of Heaven was blue)
Of a demon in my view.

The above lines contain what poetic device?

metaphor
simile
personification
irony