A Tree Kernel Based Approach for Clone Detection