Implemented buildLayoutClip.