ENH: Add api for covstruct. Clear __init__. Closes #1917.

closes #1917