Native Ruby deep clone implementation