What elements of the Restoration comedy are seen in The Importance of Being Earnest?

What elements of the Restoration comedy are seen in The Importance of Being Earnest?