clone class function