Simple:
* The twins were dressed in identical outfits.
* The two paintings looked identical, but one was a fake.
With emphasis:
* The fingerprints on the weapon were identical to those of the suspect.
* Their stories were so identical that it was impossible to believe they weren't collaborating.
Figurative:
* The new policy was identical to the previous one, just with a different name.
* Her reaction was identical to the one she had every time she heard that song.
In a comparative context:
* While the two houses were similar, they were not identical.
* The original document and the copy were almost identical, except for a few minor differences.