The structured clone implementation.