API docs. Added clone method to activity and resource