The transformation optics cloak was proposed for the medium with the angle dependent tensors of permittivity and permeability consisted of the right-handed and left-handed metamaterial media. The cloaking effect was numerically simulated using finite element method in the terahertz frequency range for different wave sources. The impact of cloaking medium thickness on the invisibility effect was demonstrated.