Added __clone() and __debugInfo() magic methods